const httpRequest = require('../util/httpRequest.js');
const { id } = require('../config/shop');

module.exports = {
  getCheckoutInfo: async (checkout_token) => {
    const { data } = await httpRequest.get(`/homeapi/${id}/single-page-checkouts/${checkout_token}`,'',false);
    return data;
  },
};
